Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

874
Vistas
[ng update]: Error - The "@angular-devkit/schematics" package cannot be resolved from the workspace root directory
ng update

The "@angular-devkit/schematics" package cannot be resolved from the workspace root directory. This may be due to an unsupported node modules structure. Please remove both the "node_modules" directory and the package lock file; and then reinstall. If this does not correct the problem, please temporarily install the "@angular-devkit/schematics" package within the workspace. It can be removed once the update is complete.

over 4 years ago · Santiago Trujillo
4 Respuestas
Responde la pregunta

0

I had this issue

First I ran this to see the structure of the package

npm ls @angular-devkit/schematics

it returned....

Mms@0.0.0 C:\Users\wgrant\source\repos\WD\MMS\Mms\ClientApp

`-- (empty)

since it was empty I ran the following (if yours is not empty maybe try update instead of install)

npm install @angular-devkit/schematics

and after this, the 'ng update' ran successfuly

over 4 years ago · Santiago Trujillo Denunciar

0

first use the command

npm remove -g @angular/cli

and then

npm install -g @angular/cli

in my case solved and installed the latest version of the angular

over 4 years ago · Santiago Trujillo Denunciar

0

In my case, I needed to just run

npm install

then the command

ng update @angular/core @angular/cli 

completed successfully

over 4 years ago · Santiago Trujillo Denunciar

0

In my case, I was running the ng update command in a directory which didn't have the package.json. Running the command in correct directory fixed it for me.

over 4 years ago · Santiago Trujillo Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda